

package com.zdsx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户
 * 
 * @author Lr
 */
@Data
@TableName("zdsx_verify_sms")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SmsVerifyEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 用户ID
	 */
	@TableId(type = IdType.AUTO)
	@JsonIgnore
	private Long id;

	/**
	 * 手机号
	 */
	private String mobile;

	private String content;

	private Date createdAt;

	private Date expiredAt;

}